package com.ruoyi.finance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账套系统对象 account_set
 * 
 * @author ruoyi
 * @date 2025-02-24
 */
public class AccountSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账套ID */
    private Long accountId;

    /** 账套名称 */
    @Excel(name = "账套名称")
    private String accountName;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 会计准则 */
    @Excel(name = "会计准则")
    private String accountingStandards;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 税号 */
    @Excel(name = "税号")
    private String taxNumber;

    /** 套账启用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "套账启用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 经营地址 */
    @Excel(name = "经营地址")
    private String businessAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 增值税种类 */
    @Excel(name = "增值税种类")
    private String vatType;

    /** 当前账套标识 */
    @Excel(name = "当前账套标识")
    private Integer isCurrent;

    /** 行业ID */
    @Excel(name = "行业ID")
    private Long industryId;

    /** 逻辑删除 */
    private Integer isDeleted;

    /** 版本号 */
    private Long version;

    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setAccountingStandards(String accountingStandards) 
    {
        this.accountingStandards = accountingStandards;
    }

    public String getAccountingStandards() 
    {
        return accountingStandards;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }
    public void setTaxNumber(String taxNumber) 
    {
        this.taxNumber = taxNumber;
    }

    public String getTaxNumber() 
    {
        return taxNumber;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setBusinessAddress(String businessAddress) 
    {
        this.businessAddress = businessAddress;
    }

    public String getBusinessAddress() 
    {
        return businessAddress;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setVatType(String vatType) 
    {
        this.vatType = vatType;
    }

    public String getVatType() 
    {
        return vatType;
    }
    public void setIsCurrent(Integer isCurrent) 
    {
        this.isCurrent = isCurrent;
    }

    public Integer getIsCurrent() 
    {
        return isCurrent;
    }
    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("accountName", getAccountName())
            .append("companyName", getCompanyName())
            .append("accountingStandards", getAccountingStandards())
            .append("creditCode", getCreditCode())
            .append("taxNumber", getTaxNumber())
            .append("startDate", getStartDate())
            .append("businessAddress", getBusinessAddress())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("vatType", getVatType())
            .append("remark", getRemark())
            .append("isCurrent", getIsCurrent())
            .append("industryId", getIndustryId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("version", getVersion())
            .toString();
    }
}
